package com.example.stuapi.controller;

import com.example.stuapi.pojo.gpaNum;
import com.example.stuapi.pojo.insNum;
import com.example.stuapi.service.insNumService;
import com.example.stuapi.util.ResponseResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
public class insNumController {
    @Autowired
    private com.example.stuapi.service.insNumService insNumService;
    @GetMapping("/queryAllins")
    public ResponseResult<List<insNum>> queryAllins (){
        List<insNum>pf =insNumService.queryAllins();
        return new ResponseResult<>("200","查询成功",pf);
    }
}
